package com.xxtx.trade.agent.service;

import me.chanjar.weixin.mp.bean.result.WxMpUser;

import java.util.Map;

public interface AgentWxService {
    //微信授权
    WxMpUser getWxUserInfosByAppid(String appid,String code);
    //微信支付参数  订单号  价格  openid appid  返回的url   购买标题
    Map<String, Object> getWxPayInfo(String id, Long price, String wchatOpenid, String wxAppId, String wxMchId, String wxKeySign,String runUrl,String title);
    //根据appid 获取代理商配置信息
    Map<String,Object> getAgentCollect(String appid);

}
